package com.fizzkai.p2p.bussness.query;

import com.fizzkai.p2p.core.query.QueryObject;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter@Setter
public class BidRequestQuery extends QueryObject {
    private Integer bidRequestState = -1;
    private Date endTime;// 最大发布时间
    private Integer bidRequestType = -1;    // 标的 类型

    private int[] states;
    private String orderByCondition;

    public int[] getStates() {
        if (states == null || states.length == 0) {
            return null;
        }
        return states;
    }
}

